<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>提示页面</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<style>


.error{ border:#1d5e84 1px solid; width:700px; height:300px; margin:0 auto; margin-top:200px; padding:50px 0; border-radius:10px; -moz-border-radius:10px; -webkit-border-radius:10px;font-family:tahoma,"Microsoft YaHei", Simsun, "Arial Unicode MS",Mingliu,Arial,Helvetica;font-size:14px;}
.error span{ line-height:50px; display:block; text-align:center;}
.error .span1{ font-size:16px;padding-top:120px; font-weight:bold;} 

.error .span2{ color:#8c8c8c; font-weight:bold;}
.error .span3 a{ background:#14b1f2; width:80px; height:35px; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; display:inline-block; color:#fff; text-align:center; line-height:35px; text-decoration:none;}


</style>
</head>
<body>
<?php if(isset($message)) {?>

	<div class="error" style="background:url(__PUBLIC__/hintPage/img/yes.jpg) no-repeat center 50px;">
	<span class="span1"><?php echo $message ? $message:'操作成功'; ?></span>
    
<?php }else{?>

	<div class="error" style="background:url(__PUBLIC__/hintPage/img/error.jpg) no-repeat center 50px;">
	<span class="span1"><?php echo $error ? $error:'操作失败'; ?></span>
    
<?php }?>
    <span class="span3">
    <b id="wait"><?php echo($waitSecond); ?></b>秒后页面自动跳转，或者点击&nbsp;&nbsp;
    <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a>
    </span>
</div>
<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
	var time = --wait.innerHTML;
	if(time <= 0) {
		location.href = href;
		clearInterval(interval);
	};
}, 1000);
})();
</script>
</body>
</html>
